package service;

import org.springframework.stereotype.Service;
import pojo.DoctorWork;
import pojo.WorkPlan;

import java.util.List;
import java.util.Map;
@Service
public interface WorkPlanService {
    WorkPlan getWorkPlanByDate(int year, int month, int day);
    boolean updateWorkPlanStatus(String day, int status);
    List<DoctorWork> getWeeklyWorkPlan(String week);
    boolean createWorkPlan(WorkPlan workPlan);
    // 新增：查询医生出诊详情
    List<Map<String, Object>> selectWorkDetails();
    List<WorkPlan> getWeekPlanByDoctor(List<String> days, String doctorId);
    List<Map<String, Object>> selectDoctorWorkById(String doctorId);
    boolean insertWorkPlan(Map<String, Object> params);
    boolean deleteDoctorWork(String scheduleId);
    boolean updateDoctorWork(Map<String, Object> params);
    List<Map<String, Object>> getDoctorWorkByDayAndRoomId(String day, Integer roomId);

}
